package com.wuwei.elearning.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuwei.elearning.question.domain.SubjectTest;

/**
 * <p>
 * 课后考试表 服务类
 * </p>
 *
 * @author wuwei
 * @since 2025-03-12
 */
public interface SubjectTestService extends IService<SubjectTest> {

    /**
     * 向subject_test表插入数据，然后再批量向subject_test_relation_question表插入数据
     * @param name
     * @param subjectId
     * @param number
     * @param account
     */
    Long insert(String name, Long subjectId, Integer number, Long account,String subjectName);

    String submit(Integer score, Long subjectTestId,Integer usedTime, Long timestamp);
}
